]> dgit.raspbian.org Git - gnome-shell.git/commit
telepathyClient: ignore invalidated channels
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 5 Jun 2012 10:39:30 +0000 (12:39 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 Jun 2012 07:56:12 +0000 (09:56 +0200)
commitededba0c6d4384a5d40516ab2fe123af86273f4f
tree62076b77ea24da7b80722e1ccc7f9b534e789d91
parente112fa92fe5f30054629ad65a0f44345d980752a
telepathyClient: ignore invalidated channels

There is a race if a channel is invalidated during its preparation: the
'invalidated' signal is already emitted so the Shell will never notice.
We fix this by simply checking if the channel is already invalidated when
receiving it from telepathy-glib.

In the approving case, we reject the full ChannelDispatchOperation as we only
support approving one channel at the time.

https://bugzilla.gnome.org/show_bug.cgi?id=677457
js/ui/telepathyClient.js
src/shell-tp-client.c
src/shell-tp-client.h